
package com.naza.test.services.impl;

import com.naza.rpc.annotation.Remote;
import com.naza.test.services.AddCalculate;

/**
 * RPC服务
 * 
 * @author yl
 */
@Remote
public class AddCalculateImpl implements AddCalculate
{
    // 两数相加
    @Override
    public int add(int a, int b)
    {
        return a + b;
    }
}
